package com.team1.system.libraryuser.domain;

import com.team1.common.annotation.Excel;
import com.team1.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户信息管理对象 library_user
 * 
 * @author hyy
 * @date 2023-04-08
 */
public class LibraryUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private Long userId;

    /** 学号 */
    @Excel(name = "学号")
    private String userSnum;

    /** 姓名 */
    @Excel(name = "姓名")
    private String userName;

    /** 认证状态 */
    @Excel(name = "认证状态")
    private String userIdent;

    /** 信用度 */
    @Excel(name = "信用度")
    private Double userCredit;

    /** 备注 */
    @Excel(name = "备注")
    private String userInfo;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String tag1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String tag2;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserSnum(String userSnum) 
    {
        this.userSnum = userSnum;
    }

    public String getUserSnum() 
    {
        return userSnum;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserIdent(String userIdent) 
    {
        this.userIdent = userIdent;
    }

    public String getUserIdent() 
    {
        return userIdent;
    }
    public void setUserCredit(Double userCredit) 
    {
        this.userCredit = userCredit;
    }

    public Double getUserCredit() 
    {
        return userCredit;
    }
    public void setUserInfo(String userInfo) 
    {
        this.userInfo = userInfo;
    }

    public String getUserInfo() 
    {
        return userInfo;
    }
    public void setTag1(String tag1) 
    {
        this.tag1 = tag1;
    }

    public String getTag1() 
    {
        return tag1;
    }
    public void setTag2(String tag2) 
    {
        this.tag2 = tag2;
    }

    public String getTag2() 
    {
        return tag2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("userSnum", getUserSnum())
            .append("userName", getUserName())
            .append("userIdent", getUserIdent())
            .append("userCredit", getUserCredit())
            .append("userInfo", getUserInfo())
            .append("tag1", getTag1())
            .append("tag2", getTag2())
            .toString();
    }
}
